function post(url, datajson, callback, errcallback) {
    $.ajax({
        type: "POST",
        url: url,
        dataType: "text",
        data: datajson,
        success: callback,
        error: errcallback
    })
}